var mask = document.getElementById("mask");



function showDlg(name,id,age,phone,sex,blackList){
	var nameEle = document.getElementById("name");
	var idcardEle = document.getElementById("idcard");
	var ageEle = document.getElementById("age");
	var phoneEle = document.getElementById("phone");
	var sexEle = document.getElementById("sex");
	var blackListEle = document.getElementById("blackList");
	var lastid = document.getElementById("lastid");
	nameEle.value = name;
	idcardEle.value = id;
	ageEle.value = age;
	phoneEle.value = phone;
	sexEle.value = sex;
	blackListEle.value = blackList; 
	lastid.value = id;
	mask.style.display = "block";
}

function closeDlg(){
	mask.style.display = "none";
}